﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class SanPhamDTO
    {
        private int _maSP;
        private string _tenSP;
        private string _mota;
        private float _trongluong;
        private int _giagoc;
        private int _giaKM;
        private string _chatlieu;
        private string _loaida;        
        private int _slTon;
        private int _maDM;
        private int _maTH;
        private string _hinhAnh;
        private string _hinhAnh2;
        private string _hinhAnh3;
        private int _viewed;        
        private int _isIndex;

        public SanPhamDTO()
        { }
        public SanPhamDTO(int _maSP,string _tenSP,string _mota,float _trongluong,int _giagoc,int _giaKM,string _chatlieu,string _loaida,int _slTon,int _maDM,int _maTH,string _hinhAnh,string _hinhanh2, string _hinhanh3,int viewed,int _isIndex)
        {
            this._maSP = _maSP;
            this._tenSP = _tenSP;
            this._mota = _mota;
            this._trongluong = _trongluong;
            this._slTon = _slTon;
            this._giagoc = _giagoc;
            this._giaKM = _giaKM;
            this._chatlieu = _chatlieu;
            this._loaida = _loaida;
            this._maDM = _maDM;
            this._maTH = _maTH;
            this._hinhAnh = _hinhAnh;
            this._hinhAnh2 = _hinhanh2;
            this._hinhAnh3 = _hinhanh3;
            this.Viewed = _viewed;
            this._isIndex = _isIndex;
        }

        public int IsIndex
        {
            get { return _isIndex; }
            set { _isIndex = value; }
        }

        public int MaSP
        {
            get { return _maSP; }
            set { _maSP = value; }
        }

        public string TenSP
        {
            get { return _tenSP; }
            set { _tenSP = value; }
        }
        public string Mota
        {
            get { return _mota; }
            set { _mota = value; }
        }


        public float Trongluong
        {
            get { return _trongluong; }
            set { _trongluong = value; }
        }
        public int Giagoc
        {
            get { return _giagoc; }
            set { _giagoc = value; }
        }

        public int GiaKM
        {
            get { return _giaKM; }
            set { _giaKM = value; }
        }

        public string Chatlieu
        {
            get { return _chatlieu; }
            set { _chatlieu = value; }
        }
        public string Loaida
        {
            get { return _loaida; }
            set { _loaida = value; }
        }

        public int SlTon
        {
            get { return _slTon; }
            set { _slTon = value; }
        }

        public int MaDM
        {
            get { return _maDM; }
            set { _maDM = value; }
        }

        public int MaTH
        {
            get { return _maTH; }
            set { _maTH = value; }
        }

        public string HinhAnh
        {
            get { return _hinhAnh; }
            set { _hinhAnh = value; }
        }
        public string HinhAnh2
        {
            get { return _hinhAnh2; }
            set { _hinhAnh2 = value; }
        }
        public string HinhAnh3
        {
            get { return _hinhAnh3; }
            set { _hinhAnh3 = value; }
        }
        public int Viewed
        {
            get { return _viewed; }
            set { _viewed = value; }
        }
        public override string ToString()
        {
            return base.ToString();
        }
    }
}
